<?php
/**
 * Created by PhpStorm.
 * User: edmmss
 * Date: 2018/12/24
 * Time: 10:04
 */

namespace app\modules\memento;


class Memento
{
    private $_state;

    public function __construct(State $stateToSave)
    {
        $this->_state = $stateToSave;
    }

    public function getState()
    {
        return $this->_state;
    }
}